package com.midou.administration.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ServiceMessage implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "sm_id", type = IdType.AUTO)
    private Integer smId;
    /**
     * 消息内容
     */
    private String smMessage;
    /**
     * 消息时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date smDatetime;
    /**
     * 处理人
     */
    private Integer smHandler;
    /**
     * 该服务是否处理
     */
    private Integer smIfDealWith;
    private Integer buId;
}
